package com.huike.business.mapper;

import java.util.List;
import com.huike.business.domain.TbBusinessTrackRecord;
import org.apache.ibatis.annotations.Select;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {
    /**
     * 新增商机跟进记录表
     * @param tbBusinessTrackRecord
     */
    void add(TbBusinessTrackRecord tbBusinessTrackRecord);

    /**
     * 商机列表查询
     * @param id
     * @return
     */
    @Select("select * from tb_business_track_record where business_id = #{id}")
    List<TbBusinessTrackRecord> list(Long id);

//    /**
//     * 添加record
//     * @param tbBusinessTrackRecord
//     */
//    void addRecord(TbBusinessTrackRecord tbBusinessTrackRecord);
}